package mx.vlabs.soapdroid;

import java.net.URL;

import javax.xml.namespace.QName;

import mx.vlabs.soapdroid.exception.SOAPException;

public abstract class Provider {
	
	public static final String JAXWSPROVIDER_PROPERTY = "javax.xml.ws.spi.Provider";
    private static final String DEFAULT_JAXWSPROVIDER = "org.apache.cxf.jaxws.spi.ProviderImpl";

    protected Provider() {
    }

    public static Provider provider() {
		return new ProviderImpl();
	
    }

    /**
     * Creates a service delegate object for the URL and service Qname
     */
    public abstract ServiceDelegate createServiceDelegate(URL url, QName qname, Class<? extends Service> class1);

}
